import { getAll, insertOne } from "../dao/technique.dao"

export const listTechniques = async ()=>{
    const res = await getAll()
        return res
}
export const newTechnique = async (tech)=>{
    await insertOne(tech)
}